<include file="public@header"/>
<link rel="stylesheet" href="/themes/admin_simpleboot3/admin/freight/css/fright_index.css">
</head>
<body>
<div class="ns-main">
    <div class="options-btn">
        <button class="btn-common" onclick="location.href='{:url(\'admin/freight/index\')}';" style="background: red">模板列表</button>
        <button class="btn-common" onclick="location.href='{:url(\'admin/freight/add_freight_tpl\')}';">添加模板</button>
    </div>
 <table class="list">
        <colgroup>
            <col style="width: 5%;">
            <col style="width: 75%;">
            <col style="width: 20%;">

        </colgroup>
        <tbody>
        <tr align="center">
            <td align="left">ID</td>
            <td align="left">运费模版</td>
            <td align="left">操作</td>
        </tr>
        <foreach name="freight_tpl_list" item="v">
            <tr>
                <td>{$v.id}</td>
                <td>{$v.freight_tpl}</td>
                <td><a href="{:url('admin/freight/index_freight',array('id'=>$v['id']))}">管理模版</a>|<a href="{:url('admin/freight/del_freight_tpl',array('id'=>$v['id']))}" class="js-ajax-delete">删除</a></td>
            </tr>
        </foreach>

        </tbody>
    </table>


    <script type="text/javascript" src="__STATIC__/js/admin.js"></script>
</div>
</body>
</html>